package cn.juque.workflow;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>WorkflowApplication</li>
 * </ul>
 * @date 2023-01-26 18:53:47
 **/
@SpringBootApplication
@EnableTransactionManagement
@EnableDubbo
@EnableAsync
@ImportResource(value = {"classpath:dubbo-provider.xml", "classpath:dubbo-consumer.xml"})
public class WorkflowApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorkflowApplication.class, args);
    }
}
